package com.example.demo.respository;

import com.example.demo.domain.Girl;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by wangbing on 2018/3/28.
 */

public interface GirlRespository extends JpaRepository<Girl,Integer> {
//    通过年龄来查询
     List<Girl>  findByAge(Integer age);


}
